package com.shandao.shangxiu.util;

import android.os.Environment;

import java.io.File;

/**
 * Created by Administrator on 2015/7/8.
 */
public class Constants {

    //系统日志Debug模式开关，默认打开，可以打印日志，发布时设置为false
    public static final boolean IS_DEBUG_MODE = true;
    /**
     *  默认存放图片的路径
     */
    public static final String DEFAULT_SAVE_IMAGE_PATH = Environment
            .getExternalStorageDirectory()
            + File.separator
            + "project"
            + File.separator + "project_img" + File.separator;

    /**
     *  默认存放文件的路径
     */
    public final static String DEFAULT_SAVE_FILE_PATH = Environment
            .getExternalStorageDirectory()
            + File.separator
            + "project"
            + File.separator + "download" + File.separator;

    /**
     * 微信APP_ID与APP_SECRET
     */
    public static final String WX_APP_ID = "wxc177c1b1fe609442";
    public static final String WX_APP_SECRET = "002f79cac3e5f81819e367773f4c9e1c";
    //商户号
    public static final String WX_MCH_ID = "1261927201";
    //  API密钥，在商户平台设置
    public static final String WX_API_KEY = "q7D5HcmDy8IJXvE6dmyvqdBZqDGnMIqL";

    /**
     * QQ的APP_ID与APP_KEY
     */
    public static final String QQ_APP_ID = "1104722171";
    public static final String QQ_APP_KEY = "zj0islgVrwWws6zF";


    /**
     * 友盟
     */
    public static final String UMENG_APP_KEY = "55dbe7f867e58e5585002161";


    /**
     * 网络请求API
     */
    //外网测试HOST
    public static final String BASE_URL = "https://sit1.yonghuigo.com/yonghuio2oocc/";
    public static final String EDECA_URL = "http://10.0.140.103:8006/yonghuio2o-assembler/json";

    //外网测试图片地址
    public static final String SHARE_HOST = "http://sit1.yonghuigo.com";


    public static final String API_DELETE_COUPONS_FORM_CART = BASE_URL +
            "v2/yonghuio2o/users/%1$s/yhcarts/%2$s/releaseRedeemVoucherFromCart";
}
